package com.yt.sys.models.dto;

import com.baomidou.mybatisplus.annotations.TableName;
import com.yt.common.dto.BaseDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 角色权限关系信息DTO
 *
 * @author zhou
 * @Date 2025-09-03 15:13:42
 */
@Data
@TableName("sys_role_permission")
@ApiModel(value = "角色权限关系信息对象", description = "角色权限关系信息对象")
public class SysRolePermissionDTO extends BaseDTO implements Serializable {

    @ApiModelProperty(value = "乐观锁")
    private Integer revision;
    @ApiModelProperty(value = "角色id")
    private Long roleId;
    @ApiModelProperty(value = "权限id")
    private Long permissionId;
}